package com.cyj.dream.admin.contacts.enums;

/**
 * @Description: 是否标识枚举
 * @BelongsProject: Future-App
 * @BelongsPackage: com.jmcc.control.future.app.constant.enums
 * @Author: ChenYongJia
 * @CreateTime: 2020年12月21日 18:11
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
public enum YesOrNoFlagEnum {

    /**
     * 是
     **/
    YES(1, "是"),
    NO(0, "否"),
    ;

    private final Integer code;
    private final String desc;

    YesOrNoFlagEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
